import type { AxiosResponse } from 'axios'
import request from '@/utils/request'

const serviceName = import.meta.env.VITE_APP_SREVICE_NAME_CITY_MANAGEMENT

class anomalyServe {
  /**
   * 异常指标
   */
  getAnomalyIndexCount<T = any>(): Promise<AxiosResponse<T>> {
    return request({
      url: `${serviceName}/cgjybzIndustryAnomalyIndex/getAnomalyIndexCount`,
      method: 'get'
    })
  }
}

export default new anomalyServe()
